<include file="__PUBLIC__/head.php">
	<title>用户列表</title>
</head>
<body class="bgwhite-1">
	<div class="Menu">
		<a href="{|U:'index'}" class="act"><i class="icon-user mr3 gray"></i>用户管理</a>
	</div>
	<div class="p10">
		<table class="table">
			<tr class=' white fm f14'>
				<th class="pct5 tsblack tc">Uid</th>
				<th class="pct30 tsblack">注册邮箱</th>
				<th class="pcd15 tsblack">昵称</th>
				<th class="pct20 tsblack">级别</th>
				<th class="pct30 tsblack tc">操作</th>
			</tr>
			<list from="$user" name="u">
				<tr>
					<td class='tc'><span class="b gray2">{$u.uid}</span></td>
					<td class='tl'>{$u.email}</td>
					<td class='tl'>{$u.nickname}</td>
					<td class='tc'>
						{$u.level|getAdminLevel}
					</td>
					<td class='tc'>
						<a href="{|U:'edit?uid='}{$u.uid}" class="a bgwhite green bdd p5 mr5"><i class="icon-edit icon-border mr3 icon-large"></i>修改</a>
						<if value="{$hd.session.user.level eq 9}">
							<a href="{|U:'del?uid='}{$u.uid}" onclick='return del();' class="a bgwhite dels red bdd p5 mr5"><i class="icon-trash icon-border mr3 icon-large"></i>删除</a>
						</if>
					</td>
				</tr>
			</list>
		</table>
	</div>
</body>
</html>